/*
 * @Autor: dingxiaolin
 * @Date: 2021-01-06 16:59:54
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-03-02 14:06:42
 */
/**
 * 统一枚举
 */
export namespace enums {
    /**
     * 事由状态枚举
     */
    export const matterStatusType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '审批中' },
        { key: '1', value: 1, label: '已通过' },
        { key: '2', value: 2, label: '已驳回' },
        { key: '3', value: 3, label: '已撤销' },
        { key: '4', value: 4, label: '通过后撤销' }
    ];
    /**
     * 企业管理状态枚举
     */
    export const estatusType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '自建' },
        { key: '1', value: 1, label: '未审核' },
        { key: '2', value: 2, label: '通过' },
        { key: '3', value: 3, label: '不通过' }
    ];
    /**
     * 报销状态枚举
     */
    export const reimbursementType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '审批中' },
        { key: '1', value: 1, label: '已撤销' },
        { key: '2', value: 2, label: '已驳回' },
        { key: '3', value: 3, label: '待核销' },
        { key: '4', value: 4, label: '部分核销' },
        { key: '5', value: 5, label: '已核销' },
        { key: '6', value: 6, label: '已退回' }
    ];
    /**
     * 票据状态枚举
     */
    export const ticketType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '未回' },
        { key: '1', value: 1, label: '已回' }
    ];
    /**
     * 预领状态枚举
     */
    export const preStateType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '审批中' },
        { key: '1', value: 1, label: '已通过' },
        { key: '2', value: 2, label: '已驳回' },
        { key: '3', value: 3, label: '已撤销' },
        { key: '4', value: 4, label: '通过后撤销' },
        { key: '5', value: 5, label: '预领完成' },
        { key: '6', value: 6, label: '预领退回' }
    ];
    /**
     * 核销状态枚举
     */
    export const writeOffType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '未核销' },
        { key: '1', value: 1, label: '核销中' },
        { key: '2', value: 2, label: '已核销' }
    ];
    /**
     * 支付方式枚举
     */
    export const payMode: Types.EnumObject[] = [
        { key: '0', value: 0, label: '打卡' },
        { key: '1', value: 1, label: '购物卡' }
    ];
    /**
     * 支付类型枚举
     */
    export const payType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '报销打款' },
        { key: '1', value: 1, label: '预领打款' }
    ];
    /**
     * 支付方式2枚举
     */
    export const payWayType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '打卡' },
        { key: '1', value: 1, label: '现金' },
        { key: '2', value: 2, label: '礼品卡' },
        { key: '3', value: 3, label: '支票' },
        { key: '4', value: 4, label: '油卡' }
    ];
    /**
     * 时间枚举
     */
    export const dayTimeType: Types.EnumObject[] = [
        { key: '0', value: 0, label: '上午' },
        { key: '1', value: 1, label: '下午' }
    ];
    /**
     * 状态枚举
     */
    export const enableType: Types.EnumObject[] = [
        { key: '0', value: true, label: '启用' },
        { key: '1', value: false, label: '禁用' }
    ];
}
